<%@ page contentType="text/html; charset=Windows-31J" language="java" %>
<%@ include file="../inc/common.jsp" %>

<html:html locale="true">
<HEAD>
	<html:base/>
	<META http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
	<TITLE><%=Globals.get("WEB_PAGETITLE")%></TITLE>
</HEAD>
<BODY BGCOLOR=<%=Globals.get("WEB_BODY_BGCOLOR")%> LINK=<%=Globals.get("WEB_BODY_LINK")%> VLINK=<%=Globals.get("WEB_BODY_VLINK")%>>
<CENTER>
<BR><H4>日報画面</H4><HR><BR>
</CENTER>

<html:form action="/search_dailyReport_info">
<TABLE cellpadding="1" cellspacing="1" border="1">
<TR>
	<TH ALIGN="left">氏名</TH>
	<TD><bean:write name="SearchDailyReportInfoActionForm" property="name" /></TD>
</TR>
<TR>
	<TH ALIGN="left">作業日</TH>
	<TD><bean:write name="SearchDailyReportInfoActionForm" property="workDateY" />年
		<bean:write name="SearchDailyReportInfoActionForm" property="workDateM" />月
		<bean:write name="SearchDailyReportInfoActionForm" property="workDateD" />日
	</TD>
</TR>
<TR>
	<TH ALIGN="left">作業時間</TH>
	<TD><bean:write name="SearchDailyReportInfoActionForm" property="workingStartHoursH" />時
		<bean:write name="SearchDailyReportInfoActionForm" property="workingStartHoursM" />分 ～
		<bean:write name="SearchDailyReportInfoActionForm" property="workingEndHoursH" />時
		<bean:write name="SearchDailyReportInfoActionForm" property="workingEndHoursM" />分
	</TD>
</TR>
</TABLE><BR>

<B>●作業内容</B>
<TABLE border="1">
<TR>
	<TH>ﾌﾟﾛｼﾞｪｸﾄ名</TH>
	<TH>作業項目</TH>
	<TH>作業時間(h)</TH>
</TR>
<logic:iterate id="workItemList1" name="workItemList">
<TR>
	<TD>
		<bean:define id="projectId1" name="workItemList1" property="projectId" type="java.lang.Integer" />
		<logic:iterate id="projects" name="projectList">
			<bean:define id="projectId2" name="projects" property="projectId" type="java.lang.Integer" />
			<%if(projectId1.intValue()==projectId2.intValue()){%>
				<bean:write name="projects" property="name" />
			<%}%>
		</logic:iterate>
	</TD>
	<TD>
		<bean:write name="workItemList1" property="name" />
	</TD>
	<TD align="right">
		<bean:define id="workItemId1" name="workItemList1" property="workItemId" type="java.lang.Integer" />
		<logic:iterate id="dailyReportWorkItem1" name="dailyReportWorkItem">
			<bean:define id="workItemId2" name="dailyReportWorkItem1" property="workItemId" type="java.lang.Integer" />
			<%if(workItemId1.intValue()==workItemId2.intValue()){%>
				<bean:write name="dailyReportWorkItem1" property="workingHours" /> h
			<%}%>
		</logic:iterate>
	</TD>
</TR>
</logic:iterate>
<TR>
	<TH ALIGN="left" colspan="2">作業時間合計</TH>
	<TD align="right"><bean:write name="SearchDailyReportInfoActionForm" property="totalWorkingHours" /> h</TD>
</TR>
</TABLE><BR>

<B>●進行状況</B>
<TABLE border="1">
<TR>
	<TH>ﾌﾟﾛｼﾞｪｸﾄ名</TH>
	<TH>作業項目</TH>
	<TH>完成度(%)</TH>
</TR>
<logic:iterate id="workItemList2" name="workItemList">
<TR>
	<TD>
		<bean:define id="projectId1" name="workItemList2" property="projectId" type="java.lang.Integer" />
		<logic:iterate id="projects" name="projectList">
			<bean:define id="projectId2" name="projects" property="projectId" type="java.lang.Integer" />
			<%if(projectId1.intValue()==projectId2.intValue()){%>
				<bean:write name="projects" property="name" />
			<%}%>
		</logic:iterate>
	</TD>
	<TD>
		<bean:write name="workItemList2" property="name" />
	</TD>
	<TD align="right">
		<bean:define id="workItemId1" name="workItemList2" property="workItemId" type="java.lang.Integer" />
		<logic:iterate id="dailyReportWorkItem2" name="dailyReportWorkItem">
			<bean:define id="workItemId2" name="dailyReportWorkItem2" property="workItemId" type="java.lang.Integer" />
			<%if(workItemId1.intValue()==workItemId2.intValue()){%>
				<bean:write name="dailyReportWorkItem2" property="completeness" /> %
			<%}%>
		</logic:iterate>
	</TD>
</TR>
</logic:iterate>
</TABLE><BR>


<B>●作業内容詳細</B>
<TABLE border="0">
<TR>
	<TD><pre><bean:write name="SearchDailyReportInfoActionForm" property="workDetail" /></pre></TD>
</TR>
</TABLE><BR>


<B>●問題点</B>
<TABLE border="0">
<TR>
	<TD><pre><bean:write name="SearchDailyReportInfoActionForm" property="problem" /></pre></TD>
</TR>
</TABLE><BR>


<B>●TODO</B>
<TABLE border="0">
<TR>
	<TD><pre><bean:write name="SearchDailyReportInfoActionForm" property="toDo" /></pre></TD>
</TR>
</TABLE><BR>


<B>●感想</B>
<TABLE border="0">
<TR>
	<TD><pre><bean:write name="SearchDailyReportInfoActionForm" property="comment" /></pre></TD>
</TR>
</TABLE>
<BR><BR>

<TABLE border="0">
<TR>
	<TD>
		<html:button property="close" value="閉じる" onclick="window.close()"/>
	</TD>
</TR>
</TABLE>

</html:form>

</BODY>
</html:html>
